const wear=require('../model/wear');

var wearModel=wear.model;

async function findByKind(kind) {
    //查询一个类型的衣服
    var data=await wearModel.find({kind:kind});
    return data;
}

exports.findByKind=findByKind;
